projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2c322e
)
Use g_autoptr(GKeyFile) instead of gs_unref_keyfile
author
Matthew Barnes
<mbarnes@redhat.com>
Tue, 5 May 2015 15:47:07 +0000
(11:47 -0400)
committer
Matthew Barnes
<mbarnes@redhat.com>
Thu, 7 May 2015 02:07:10 +0000
(22:07 -0400)
src/ostree/ot-admin-builtin-set-origin.c
patch
|
blob
|
history
diff --git
a/src/ostree/ot-admin-builtin-set-origin.c
b/src/ostree/ot-admin-builtin-set-origin.c
index 24a919fdc9687f5f42e73170e7410c5af0c44f3d..9e140bf0fe05cd92c75d815c259e674311eb91ea 100644
(file)
--- a/
src/ostree/ot-admin-builtin-set-origin.c
+++ b/
src/ostree/ot-admin-builtin-set-origin.c
@@
-129,7
+129,7
@@
ot_admin_builtin_set_origin (int argc, char **argv, GCancellable *cancellable, G
goto out;
{ g_autofree char *new_refspec = g_strconcat (remotename, ":", branch ? branch : origin_ref, NULL);
- g
s_unref_keyfile GKeyFile *
new_origin = NULL;
+ g
_autoptr(GKeyFile)
new_origin = NULL;
g_autoptr(GFile) origin_path = NULL;
new_origin = ostree_sysroot_origin_new_from_refspec (sysroot, new_refspec);